home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / PCCardTuples.idl < prev    next >
Text File  |  1996-05-01  |  5KB  |  124 lines

  1. /*
  2.      File:        PCCardTuples.idl
  3.  
  4.      Contains:    List of PCMCIA tuple types and definitions of tuple contents.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __PCCARDTUPLES_IDL__
  19. #define __PCCARDTUPLES_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27.  
  28. #ifdef __SOMIDL__
  29.  
  30. /*
  31. ------------------------------------------------------------------------------------------------------------------------------------------------
  32.     Defines for Tuple codes
  33. ------------------------------------------------------------------------------------------------------------------------------------------------
  34. */
  35. /*
  36. ------------------------------------------------------------------------------------------------------------------------------------------------
  37.     Tuple Data Block Definitions
  38. ------------------------------------------------------------------------------------------------------------------------------------------------
  39. */
  40. /*------------    Device Information Tuple (01H, 17H)    -----------                            */
  41. typedef SOMLargeStruct            DeviceIDTuple;                /* Derived from a struct of 254 bytes in size */
  42.  
  43. /*    device ID types*/
  44. /*---------------    Checksum Control Tuple (10H)    ---------------                            */
  45. typedef SOMLargeStruct            ChecksumControlTuple;        /* Derived from a struct of 6 bytes in size */
  46.  
  47. /*----------------    Long Link Multi-Function Tuple (06H)    ------                    */
  48. typedef SOMLargeStruct            LongLinkMFCTuple;            /* Derived from a struct of 11 bytes in size */
  49.  
  50. /*----------------    Long Link Tuple (11H, 12H)    ----------------                            */
  51. typedef SOMFourByteStruct        LongLinkTuple;                /* Derived from a struct of 4 bytes in size */
  52.  
  53. /*-----------------    Link Target Tuple (13H)    ------------------                            */
  54. typedef SOMLargeStruct            LinkTargetTuple;            /* Derived from a struct of 3 bytes in size */
  55.  
  56. /*----------------    Level 1 Version Tuple (15H)    ---------------                            */
  57. typedef SOMLargeStruct            Level1VersionTuple;            /* Derived from a struct of 3 bytes in size */
  58.  
  59. /*-------------    JEDEC Identifier Tuple (18H, 19H)    ------------                            */
  60. typedef SOMTwoByteStruct        JEDECDeviceInfo;            /* Derived from a struct of 2 bytes in size */
  61.  
  62. typedef SOMTwoByteStruct        JEDECIdentifierTuple;        /* Derived from a struct of 2 bytes in size */
  63.  
  64. /*---------    Configuration Tuple (1AH)    ----------                            */
  65. typedef SOMFourByteStruct        ConfigTuple;                /* Derived from a struct of 4 bytes in size */
  66.  
  67. /*    TPCC_RADR field definitions*/
  68. /*---------    Device Geometry Tuple (1EH, 1FH)    ----------*/
  69. typedef SOMLargeStruct            DeviceGeometry;                /* Derived from a struct of 6 bytes in size */
  70.  
  71. typedef SOMLargeStruct            DeviceGeometryTuple;        /* Derived from a struct of 252 bytes in size */
  72.  
  73. /*---------    Manufacturer Identification Tuple (20H)    ----------                            */
  74. typedef SOMFourByteStruct        ManufIDTuple;                /* Derived from a struct of 4 bytes in size */
  75.  
  76. /*-----------    Function Identification Tuple (21H)    ------------                            */
  77. typedef SOMTwoByteStruct        FunctionIDTuple;            /* Derived from a struct of 2 bytes in size */
  78.  
  79. /*    function codes*/
  80. /*------------    Software Interleave Tuple (23H)    ---------------                            */
  81. typedef SOMLargeStruct            SoftwareInterleaveTuple;    /* Derived from a struct of 1 bytes in size */
  82.  
  83. /*-------    Level 2 Version and Information Tuple (40H)    --------                            */
  84. typedef SOMLargeStruct            Level2VersionTuple;            /* Derived from a struct of 12 bytes in size */
  85.  
  86. /*
  87. --------------------    Format Tuple (41H)    --------------------                            
  88.  additional information for disk type:
  89. */
  90. typedef SOMLargeStruct            FormatDiskTuple;            /* Derived from a struct of 10 bytes in size */
  91.  
  92. /* additional information for disk type:*/
  93. typedef SOMLargeStruct            FormatMemTuple;                /* Derived from a struct of 10 bytes in size */
  94.  
  95. typedef SOMLargeStruct            FormatTuple;                /* Derived from a struct of 30 bytes in size */
  96.  
  97. /*    format types*/
  98. /*    error detection types*/
  99. /*    bits in TPLFMT_FLAGS*/
  100. /*------------------    Geometry Tuple (42H)    --------------------                            */
  101. typedef SOMFourByteStruct        GeometryTuple;                /* Derived from a struct of 4 bytes in size */
  102.  
  103. /*-----------------    Byte-Order Tuple (43H)    -------------------                            */
  104. typedef SOMTwoByteStruct        ByteOrderTuple;                /* Derived from a struct of 2 bytes in size */
  105.  
  106. /*    byte order codes*/
  107. /*    byte mapping codes*/
  108. /*----------    Card Initialization Date Tuple (44H)    ------------                            */
  109. typedef SOMFourByteStruct        CardInitDateTuple;            /* Derived from a struct of 4 bytes in size */
  110.  
  111. /*----------    Battery-Replacement Date Tuple (45H)    ------------                            */
  112. typedef SOMFourByteStruct        BatteryReplaceDateTuple;    /* Derived from a struct of 4 bytes in size */
  113.  
  114. /*----------------------    General Tuple    -----------------------                            */
  115. typedef SOMLargeStruct            TupleBody;                    /* Derived from a struct of 838 bytes in size */
  116.  
  117. typedef SOMLargeStruct            Tuple;                        /* Derived from a struct of 256 bytes in size */
  118.  
  119.  
  120. #endif /* __SOMIDL__ */
  121.  
  122. #endif /* __PCCARDTUPLES_IDL__ */
  123.  
  124.